home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
SYS
/
s
/
Quit.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-09-26
|
449b
|
26 lines
/*
*
* Script name: Quit.rexx
* Author: Franz Hemmer
* Purpose: Demonstrate how quit Watcher from ARexx.
* Written: 25.11.92
* Comments: You need to have Watcher running.
*
*/
Options FailAt 100
Options Results
address WATCHER1 /* Address Watcher's ARexx port. */
lf = '0A'x
/*
* Try to read the window title bar
*/
Quit
IF rc > 0 THEN
SAY 'Error was 'WATCHER.LASTERROR
ELSE DO
SAY 'Watcher has gone...'
END